<style>
    .vector-menu-tabs-legacy {
        padding: 5px;
        background-color: lightblue;
        display: inline-block;
    }
    .vector-menu-tabs-legacy ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .vector-menu-tabs-legacy li {
        background-color: lightcoral;
        float: left;
        display: block;
        margin: 0;
        padding: 5px;
        white-space: nowrap;
    }
</style>

<nav id="p-namespaces" class="vector-menu-tabs-legacy">
    <ul class="vector-menu-content-list">
        <li id="ca-nstab-main">Article</li>
        <li id="ca-talk">Talk</li>
        <li id="ca-talk1">T</li>
    </ul>
</nav>
